<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>MS Tactics 4j</title>
	
    <meta http-equiv="keywords" content="ms,ms4j">
    <meta http-equiv="description" content="MS Tactics">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <meta HTTP-EQUIV="pragma" CONTENT="no-cache"/> 
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"/> 
	<meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"/> 
	<meta HTTP-EQUIV="expires" CONTENT="0"/> 
    
    <link rel="stylesheet" type="text/css" href="../css/main.css" />
    <!-- JQuery -->
    <script type="text/javascript" src="../script/jquery/jquery-1.6.min.js"></script>
    <!-- EASYUI -->
	<link rel="stylesheet" type="text/css" href="../script/easyui/themes/default/easyui.css" />
	<link rel="stylesheet" type="text/css" href="../script/easyui/themes/icon.css" />

	<script type="text/javascript" src="../script/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../script/easyui/locale/easyui-lang-zh_CN.js"></script>
	<!-- cookie -->
	<script type="text/javascript" src="../script/jquery/jquery.cookies.2.2.0.min.js"></script>
	<!-- JSON -->
	<script type="text/javascript" src="../script/jquery/json2.js"></script>

	<script type="text/javascript" src="../script/SoLFunction.js"></script>
	<script type="text/javascript" src="originalMachine.js"></script>
  </head>
  
  <body class="easyui-layout">

	<div region="north" title="机体操作" split="true" style="height:270px;">
	
		<form id="queryForm" method="post" action="../../admin/originalMachine">
		<input type="hidden" name="_method" id="method" value="get" />
		
		<input type="hidden" name="page" value="1" />
		<input type="hidden" name="rows" value="10" />
		
		<table style="margin-left:10px;margin-top:5px;border:1px solid #ccc">
		<tr>
		<td width="70" align="right">机体名称</td><td><input type="text" class="easyui-validatebox combo" name="name" maxlength="50" /></td>
		<td width="70" align="right">年代</td><td><input type="text" id="categoryAge" name="categoryAge" class="use-combobox" valueField="text" textField="text" validType="length[0,50]"/></td>
		<td width="70" align="right">作品</td><td><input type="text" id="categoryProduction" name="categoryProduction" class="use-combobox" valueField="text" textField="text" validType="length[0,20]"/></td>
		<td width="70" align="right">尺寸</td><td><input type="text" id="categorySize" name="categorySize" class="use-combobox" valueField="text" textField="text" validType="length[0,20]"/></td>
		<td width="70" align="right">机体种类</td><td><input type="text" id="categoryType" name="categoryType" class="use-combobox" valueField="text" textField="text" validType="length[0,20]"/></td>
		<td><a id="btn_submit" iconCls="icon-search">查询机体</a>&nbsp;
			<a id="btn_reset" iconCls="icon-undo">重设</a></td>
		</tr>
		</table>
		</form>
		
		<form id="addForm" method="post" action="../../admin/originalMachine">
		<input type="hidden" name="_method" id="method" />
		
		<input type="hidden" id="id" name="id" />
		
		<input type="hidden" name="natureid" class="hiddenComboboxValue"/>
		<input type="hidden" name="onground" class="hiddenComboboxValue"/>
		<input type="hidden" name="onwater" class="hiddenComboboxValue"/>
		<input type="hidden" name="onspace" class="hiddenComboboxValue"/>
		<input type="hidden" name="onsky" class="hiddenComboboxValue"/>
		<input type="hidden" name="trans" class="hiddenComboboxValue"/>
		<input type="hidden" name="parent" class="hiddenComboboxValue"/>
		<input type="hidden" name="categoryAge" class="hiddenComboboxValue"/>
		<input type="hidden" name="categoryProduction" class="hiddenComboboxValue"/>
		<input type="hidden" name="categorySize" class="hiddenComboboxValue"/>
		<input type="hidden" name="categoryType" class="hiddenComboboxValue"/>
		
		<table style="margin-left:10px;border:1px solid #ccc">
		<tr>
		<td width="70">机体名称</td><td><input type="text" class="easyui-validatebox combo" id="name" name="name" validType="length[0,50]" required="true"/></td>
		<td width="70">HP</td><td><input type="text" class="easyui-numberbox combo" id="hp" name="hp" validType="length[0,10]" required="true"/></td>
		<td width="70">EN</td><td><input type="text" class="easyui-numberbox combo" id="en" name="en" validType="length[0,10]" required="true"/></td>
		<td width="70">机动性</td><td><input type="text" class="easyui-numberbox combo" id="mobility" name="mobility" validType="length[0,10]" required="true"/></td>
		<td width="70">防御</td><td><input type="text" class="easyui-numberbox combo" id="defensive" name="defensive" validType="length[0,10]" required="true"/></td>
		<td width="70">索敌</td><td><input type="text" class="easyui-numberbox combo" id="search" name="search" validType="length[0,10]" required="true"/></td>
		</tr>
		<tr>
		<td>回避</td><td><input type="text" class="easyui-numberbox combo" id="evade" name="evade" validType="length[0,10]" required="true"/></td>
		<td>命中</td><td><input type="text" class="easyui-numberbox combo" id="hit" name="hit" validType="length[0,10]" required="true"/></td>
		<td>近距离</td><td><input type="text" class="easyui-numberbox combo" id="rclose" name="rclose" validType="length[0,10]" required="true"/></td>
		<td>中距离</td><td><input type="text" class="easyui-numberbox combo" id="rmiddle" name="rmiddle" validType="length[0,10]" required="true"/></td>
		<td>远距离</td><td><input type="text" class="easyui-numberbox combo" id="rlong" name="rlong" validType="length[0,10]" required="true"/></td>
		<td>人格</td><td><input type="text" class="easyui-combobox" id="natureid" valueField="id" textField="name"/></td>
		</tr>
		<tr>
		<td>性格等级</td><td><input type="text" class="easyui-numberbox combo" id="naturelevel" name="naturelevel" validType="length[0,2]" required="true"/></td>
		<td>地上</td><td><input type="text" class="use-combobox-on" id="onground" required="true"/></td>
		<td>水中</td><td><input type="text" class="use-combobox-on" id="onwater" equired="true"/></td>
		<td>宇宙</td><td><input type="text" class="use-combobox-on" id="onspace" required="true"/></td>
		<td>空中</td><td><input type="text" class="use-combobox-on" id="onsky" required="true"/></td>
		<td>费用</td><td><input type="text" class="easyui-numberbox combo" id="cost" name="cost" validType="length[0,10]" required="true"/></td>
		</tr>
		<tr>
		<td>声望要求</td><td><input type="text" class="easyui-numberbox combo" id="popularity" name="popularity" validType="length[0,10]" value="0"/></td>
		<td>机体等级</td><td><input type="text" class="easyui-numberbox combo" id="machinelevel" name="machinelevel" validType="length[0,10]" required="true"/></td>
		<td>图</td><td><input type="text" class="easyui-validatebox combo" id="image" name="image" required="true"/></td>
		<td class="tooltip" title="设置为变形后机体ID">变形</td><td><select class="easyui-combobox" id="trans" required="true"><option value="0" selected="true">无</option></select></td>
		<td class="tooltip" title="设置为换乘前机体ID,设置此项后此机体不可直接制造">换乘/改造</td><td><select class="easyui-combobox" id="parent" required="true"><option value="0" selected="true">无</option></select></td>
		<td>安全改造</td><td><input type="text" class="easyui-numberbox combo" id="safeUpgrade" name="safeUpgrade" validType="length[0,10]" required="true"/></td>
		</tr>
		<tr>
		<td>年代</td><td><input type="text" class="use-combobox" id="categoryAge" valueField="text" textField="text"  validType="length[0,50]"/></td>
		<td>作品</td><td><input type="text" class="use-combobox" id="categoryProduction" valueField="text" textField="text"  validType="length[0,20]"/></td>
		<td>尺寸</td><td><input type="text" class="use-combobox" id="categorySize" valueField="text" textField="text"  validType="length[0,20]"/></td>
		<td>机体种类</td><td><input type="text" class="use-combobox" id="categoryType" valueField="text" textField="text"  validType="length[0,20]"/></td>
		</tr>
		<tr><td colspan="6">
		<input type="text" id="msg" style="border:0px;width:150px;color:red"/>
		<a id="btn_submit" iconCls="icon-save">保存修改</a>
		<a id="btn_cancel" iconCls="icon-cancel">放弃</a>
		</td></tr>
		</table>
		</form>
	</div>
	
	<div region="center" title="机体数据" style="padding:5px;background:#eee;">
		<table id="listTable">
			<thead>
			<tr>
			<th field="name" width="50">机体名称</td>
			<th field="hp" width="50">HP</td>
			<th field="en" width="50">EN</td>
			<th field="mobility" width="50">机动性</td>
			<th field="defensive" width="50">防御</td>
			<th field="search" width="50">索敌</td>
			<th field="evade" width="50">回避</td>
			<th field="hit" width="50">命中</td>
			<th field="rclose" width="50">近距离</td>
			<th field="rmiddle" width="50">中距离</td>
			<th field="rlong" width="50">远距离</td>
			<th field="natureid" width="50">性格</td>
			<th field="naturelevel" width="50">性格等级</td>
			<th field="onground" width="50">地上</td>
			<th field="onwater" width="50">水中</td>
			<th field="onspace" width="50">宇宙</td>
			<th field="onsky" width="50">空中</td>
			<th field="cost" width="50">费用</td>
			<th field="popularity" width="50">声望要求</td>
			<th field="machinelevel" width="50">机体等级</td>
			<th field="image" width="50">图</td>
			<th field="trans" width="50">变形</td>
			<th field="parent" width="50">换乘/改造</td>
			<th field="safeUpgrade" width="50">安全改造</td>
			<th field="categoryAge" width="50">年代</td>
			<th field="categoryProduction" width="50">作品</td>
			<th field="categorySize" width="50">尺寸</td>
			<th field="categoryType" width="50">机体类别</td>
			</tr>
			</thead>
		</table>
	</div>

</body>
</html>
